//
//  DSZShowWebViewController.m
//  7.13苏宁框架
//
//  Created by lovena on 15/7/19.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import "DSZShowWebViewController.h"

@interface DSZShowWebViewController ()
@property(nonatomic,strong)UIWebView *webView;//网页
@end

@implementation DSZShowWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //self.view.backgroundColor=[UIColor whiteColor];
    [self initSubWeb];
}

-(void)initSubWeb
{
    _webView=[[UIWebView alloc]initWithFrame:CGRectMake(0, 0, 320, 480)];
    [self.view addSubview:_webView];
    NSURL *url=[NSURL URLWithString:_showModel.url];
    NSURLRequest *request=[NSURLRequest requestWithURL:url];
    [_webView loadRequest:request];
}


@end
